﻿using eCollabro.Client.Models.Core;
using eCollabro.Service.DataContracts;
using eCollabro.Service.ServiceContracts;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace eCollabro.Client.ServiceProxy.Interface
{
    /// <summary>
    /// ISetupClient
    /// </summary>
    public interface ISetupServiceProxy
    {
        /// <summary>
        /// CheckPrometric.ProctoringSetup
        /// </summary>
        /// <returns></returns>
        bool CheckEcollabroSetup();


        /// <summary>
        /// Prometric.ProctoringSetup
        /// </summary>
        /// <param name="registerModel"></param>
        void eCollabroSetup(RegisterModel registerModel);


        /// <summary>
        /// GetEmailConfiguration
        /// </summary>
        /// <returns></returns>
        EmailConfigurationModel GetEmailConfiguration();

        /// <summary>
        /// SaveEmailConfiguration
        /// </summary>
        /// <param name="emailConfigurationModel"></param>
        void SaveEmailConfiguration(EmailConfigurationModel emailConfigurationModel);

        #region Site Collection Admin

        /// <summary>
        /// GetSiteCollectionAdmins
        /// </summary>
        /// <returns></returns>
        List<SiteCollectionAdminModel> GetSiteCollectionAdmins();

        /// <summary>
        /// SaveSiteCollectionAdmin
        /// </summary>
        /// <param name="siteModel"></param>
        /// <returns></returns>
        void SaveSiteCollectionAdmin(SiteCollectionAdminModel siteCollectionAdminModel);

        /// <summary>
        /// DeleteSiteCollectionAdmin
        /// </summary>
        /// <param name="siteId"></param>
        /// <returns></returns>
        void DeleteSiteCollectionAdmin(int userId);

        #endregion

    }
}
